package com.wu.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.wu.mappers.BoardcastRedirectcontentMapper;
import com.wu.pojo.BoardcastRedirectcontent;
import com.wu.service.BoardcastRedirectcontentService;
/**
@author sun
@date 2022/3/21 - 0:17
*/
@Service
public class BoardcastRedirectcontentServiceImpl implements BoardcastRedirectcontentService{

    @Resource
    private BoardcastRedirectcontentMapper boardcastRedirectcontentMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return boardcastRedirectcontentMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(BoardcastRedirectcontent record) {
        return boardcastRedirectcontentMapper.insert(record);
    }

    @Override
    public int insertSelective(BoardcastRedirectcontent record) {
        return boardcastRedirectcontentMapper.insertSelective(record);
    }

    @Override
    public BoardcastRedirectcontent selectByPrimaryKey(Integer id) {
        return boardcastRedirectcontentMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(BoardcastRedirectcontent record) {
        return boardcastRedirectcontentMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(BoardcastRedirectcontent record) {
        return boardcastRedirectcontentMapper.updateByPrimaryKey(record);
    }

    @Override
    public void deleteByBoardcastId(Integer id) {
         boardcastRedirectcontentMapper.deleteByBoardcastId(id);
    }

}
